package com.aixin.csopuser.domain.vo;

import com.aixin.common.utils.StringUtils;
import lombok.Data;
import lombok.Setter;

@Setter
public class CustomerServiceConsumeQuery {
    private Boolean hidePrivate;
    private String customerName;
    private String identity;
    private String supplierID;
    private String serviceID;
    private Integer usedStatus;

    public String getCustomerName() {
        if (StringUtils.isEmpty(customerName)) {
            return null;
        }
        return customerName;
    }

    public String getIdentity() {
        if (StringUtils.isEmpty(identity)) {
            return null;
        }
        return identity;
    }

    public String getSupplierID() {
        if (StringUtils.isEmpty(supplierID)) {
            return null;
        }
        return supplierID;
    }

    public String getServiceID() {
        if (StringUtils.isEmpty(serviceID)) {
            return null;
        }
        return serviceID;
    }

    public Boolean getHidePrivate() {
        return hidePrivate;
    }

    public Integer getUsedStatus() {
        return usedStatus;
    }
}
